<template>
  <div class="el-tree-diy">
    <LeftTree />
    <!-- 滚动条用法测试 -->
    <div class="test">
      <el-scrollbar v-if="false">
        <div>ssss</div>
        <div>ssss</div>
        <div>ssss</div>
        <div>ssss</div>
        <div>ssss</div>
        <div>ssss</div>
        <div>ssss</div>
        <div>ssss</div>
      </el-scrollbar>
    </div>
  </div>
</template>

<script>
import LeftTree from "./LeftTree"

export default {
  components: {
    LeftTree,
  },
  data() {
    return {}
  },
  created() {
    console.log("LeftTree")
  },
}
</script>

<style lang="less">
.el-tree-diy {
  .test {
    width: 300px;
    .el-scrollbar__wrap {
      height: 152px;
      overflow-y: auto;
    }
  }
}
</style>
